/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 子任务管理Entity
 * @author leo
 * @version 2017-02-16
 */
public class TaskOperation extends DataEntity<TaskOperation> {
	
	private static final long serialVersionUID = 1L;
	private String keyfield;		// 关键字段
	private int taskGroupId;		// 合并任务id
	private String productid;		// 产品字段
	private String productname;		// 产品名称
	private String opdesc;		// opdesc
	private String dptask;		// dptask
	private String dept;		// dept
	private Date beginDate;
	
	private Date enddate;		// enddate
	private Date pdate;		// pdate
	private Double prodqty;
	private Integer pdateYear;		// pdate_year
	private Integer pdateMonth;		// pdate_month
	private Double a;		// a
	private Double b;		// b
	private Double c;		// c
	private Double d;		// d
	private Double e;		// e
	private Double f;		// f
	private Double g;		// g
	private Double h;		// h
	private String tasktype;		// tasktype
	private boolean istaskcomplete;		// istaskcomplete
	private boolean istagprocess;		// istagprocess
	private boolean ispartcomplete;		// ispartcomplete
	private boolean isqctask;		// isqctask
	private boolean isok;		// isok
	private boolean isstart;		// isstart
	private String userid;		// userid
	private String jobgroupid;
	private String character01;		// character01
	private String character02;		// character02
	private String character03;		// character03
	private String partnum;		// partnum
	private String character04;		// character04
	private String character05;		// character05
	private String character06;		// character06
	private String commenttext;		// commenttext
	private String opcode;		// opcode
	private String jcdept;		// jcdept
	private String number03;		// number03
	private String number07;		// number07
	private String number13;		// number13
	private String starhour;		// starhour
	private String prodcode;		// prodcode
	private String xpartnum;		// xpartnum
	private String logcomment;
	private Date beginPdate;		// 开始 pdate
	private Date endPdate;		// 结束 pdate
	private Boolean issalary;		//工资标志
	
	
	
	public TaskOperation() {
		super();
	}

	public TaskOperation(String id){
		super(id);
	}

	@Length(min=1, max=50, message="关键字段长度必须介于 1 和 50 之间")
	public String getKeyfield() {
		return keyfield;
	}

	public void setKeyfield(String keyfield) {
		this.keyfield = keyfield;
	}
	
	public int getTaskGroupId() {
		return taskGroupId;
	}

	public void setTaskGroupId(int taskGroupId) {
		this.taskGroupId = taskGroupId;
	}
	@Length(min=0, max=50, message="产品字段长度必须介于 0 和 50 之间")
	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}
	
	@Length(min=0, max=128, message="产品名称长度必须介于 0 和 128 之间")
	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}
	
	@Length(min=0, max=8, message="opdesc长度必须介于 0 和 50之间")
	public String getOpdesc() {
		return opdesc;
	}

	public void setOpdesc(String opdesc) {
		this.opdesc = opdesc;
	}
	
	@Length(min=0, max=8, message="dptask长度必须介于 0 和50之间")
	public String getDptask() {
		return dptask;
	}

	public void setDptask(String dptask) {
		this.dptask = dptask;
	}
	
	@Length(min=0, max=8, message="dept长度必须介于 0 和 20 之间")
	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getPdate() {
		return pdate;
	}

	public void setPdate(Date pdate) {
		this.pdate = pdate;
	}
	
	public Double getProdqty() {
		return prodqty;
	}

	public void setProdqty(Double prodqty) {
		this.prodqty = prodqty;
	}
	
	@Length(min=0, max=4, message="pdate_year长度必须介于 0 和 4 之间")
	public Integer getPdateYear() {
		return pdateYear;
	}

	public void setPdateYear(Integer pdateYear) {
		this.pdateYear = pdateYear;
	}
	
	@Length(min=0, max=4, message="pdate_month长度必须介于 0 和 4 之间")
	public Integer getPdateMonth() {
		return pdateMonth;
	}

	public void setPdateMonth(Integer pdateMonth) {
		this.pdateMonth = pdateMonth;
	}
	
	public Double getA() {
		return a;
	}

	public void setA(Double a) {
		this.a = a;
	}
	
	public Double getB() {
		return b;
	}

	public void setB(Double b) {
		this.b = b;
	}
	
	public Double getC() {
		return c;
	}

	public void setC(Double c) {
		this.c = c;
	}
	
	public Double getD() {
		return d;
	}

	public void setD(Double d) {
		this.d = d;
	}
	
	public Double getE() {
		return e;
	}

	public void setE(Double e) {
		this.e = e;
	}
	
	public Double getF() {
		return f;
	}

	public void setF(Double f) {
		this.f = f;
	}
	
	public Double getG() {
		return g;
	}

	public void setG(Double g) {
		this.g = g;
	}
	
	public Double getH() {
		return h;
	}

	public void setH(Double h) {
		this.h = h;
	}
	
	@Length(min=0, max=8, message="tasktype长度必须介于 0 和 8 之间")
	public String getTasktype() {
		return tasktype;
	}

	public void setTasktype(String tasktype) {
		this.tasktype = tasktype;
	}
	
	@Length(min=0, max=1, message="istaskcomplete长度必须介于 0 和 1 之间")
	public boolean getIstaskcomplete() {
		return istaskcomplete;
	}

	public void setIstaskcomplete(boolean istaskcomplete) {
		this.istaskcomplete = istaskcomplete;
	}
	
	@Length(min=0, max=1, message="istagprocess长度必须介于 0 和 1 之间")
	public boolean getIstagprocess() {
		return istagprocess;
	}

	public void setIstagprocess(boolean istagprocess) {
		this.istagprocess = istagprocess;
	}
	
	@Length(min=0, max=1, message="ispartcomplete长度必须介于 0 和 1 之间")
	public boolean getIspartcomplete() {
		return ispartcomplete;
	}

	public void setIspartcomplete(boolean ispartcomplete) {
		this.ispartcomplete = ispartcomplete;
	}
	
	@Length(min=0, max=1, message="isqctask长度必须介于 0 和 1 之间")
	public boolean getIsqctask() {
		return isqctask;
	}

	public void setIsqctask(boolean isqctask) {
		this.isqctask = isqctask;
	}
	
	@Length(min=0, max=1, message="isok长度必须介于 0 和 1 之间")
	public boolean getIsok() {
		return isok;
	}

	public void setIsok(boolean isok) {
		this.isok = isok;
	}
	
	@Length(min=0, max=1, message="isstart长度必须介于 0 和 1 之间")
	public boolean getIsstart() {
		return isstart;
	}

	public void setIsstart(boolean isstart) {
		this.isstart = isstart;
	}
	
	@Length(min=0, max=8, message="userid长度必须介于 0 和 8 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	public String getJobgroupid() {
		return jobgroupid;
	}

	public void setJobgroupid(String jobgroupid) {
		this.jobgroupid = jobgroupid;
	}

	@Length(min=0, max=1000, message="character01长度必须介于 0 和 1000 之间")
	public String getCharacter01() {
		return character01;
	}

	public void setCharacter01(String character01) {
		this.character01 = character01;
	}
	
	@Length(min=0, max=1000, message="character02长度必须介于 0 和 1000 之间")
	public String getCharacter02() {
		return character02;
	}

	public void setCharacter02(String character02) {
		this.character02 = character02;
	}
	
	@Length(min=0, max=1000, message="character03长度必须介于 0 和 1000 之间")
	public String getCharacter03() {
		return character03;
	}

	public void setCharacter03(String character03) {
		this.character03 = character03;
	}
	
	@Length(min=0, max=1000, message="partnum长度必须介于 0 和 1000 之间")
	public String getPartnum() {
		return partnum;
	}

	public void setPartnum(String partnum) {
		this.partnum = partnum;
	}
	
	@Length(min=0, max=1000, message="character04长度必须介于 0 和 1000 之间")
	public String getCharacter04() {
		return character04;
	}

	public void setCharacter04(String character04) {
		this.character04 = character04;
	}
	
	@Length(min=0, max=1000, message="character05长度必须介于 0 和 1000 之间")
	public String getCharacter05() {
		return character05;
	}

	public void setCharacter05(String character05) {
		this.character05 = character05;
	}
	
	@Length(min=0, max=1000, message="character06长度必须介于 0 和 1000 之间")
	public String getCharacter06() {
		return character06;
	}

	public void setCharacter06(String character06) {
		this.character06 = character06;
	}
	
	@Length(min=0, max=1000, message="commenttext长度必须介于 0 和 1000 之间")
	public String getCommenttext() {
		return commenttext;
	}

	public void setCommenttext(String commenttext) {
		this.commenttext = commenttext;
	}
	
	@Length(min=0, max=8, message="opcode长度必须介于 0 和 8 之间")
	public String getOpcode() {
		return opcode;
	}

	public void setOpcode(String opcode) {
		this.opcode = opcode;
	}
	
	@Length(min=0, max=8, message="jcdept长度必须介于 0 和 8 之间")
	public String getJcdept() {
		return jcdept;
	}

	public void setJcdept(String jcdept) {
		this.jcdept = jcdept;
	}
	
	public String getNumber03() {
		return number03;
	}

	public void setNumber03(String number03) {
		this.number03 = number03;
	}
	
	public String getNumber07() {
		return number07;
	}

	public void setNumber07(String number07) {
		this.number07 = number07;
	}
	
	public String getNumber13() {
		return number13;
	}

	public void setNumber13(String number13) {
		this.number13 = number13;
	}
	
	@Length(min=0, max=8, message="starhour长度必须介于 0 和 8 之间")
	public String getStarhour() {
		return starhour;
	}

	public void setStarhour(String starhour) {
		this.starhour = starhour;
	}
	
	@Length(min=0, max=8, message="prodcode长度必须介于 0 和 8 之间")
	public String getProdcode() {
		return prodcode;
	}

	public void setProdcode(String prodcode) {
		this.prodcode = prodcode;
	}
	
	@Length(min=0, max=50, message="xpartnum长度必须介于 0 和 50 之间")
	public String getXpartnum() {
		return xpartnum;
	}

	public void setXpartnum(String xpartnum) {
		this.xpartnum = xpartnum;
	}
	@Length(min=0, max=1000, message="xpartnum长度必须介于 0 和 1000 之间")
	public String getLogcomment() {
		return logcomment;
	}

	public void setLogcomment(String logcomment) {
		this.logcomment = logcomment;
	}

	public Date getBeginPdate() {
		return beginPdate;
	}

	public void setBeginPdate(Date beginPdate) {
		this.beginPdate = beginPdate;
	}
	
	public Date getEndPdate() {
		return endPdate;
	}

	public void setEndPdate(Date endPdate) {
		this.endPdate = endPdate;
	}
	
	public Boolean getIssalary() {
		return issalary;
	}

	public void setIssalary(Boolean issalary) {
		this.issalary = issalary;
	}

}